
 /**
 * IRoleManager.java.java.
 * User: BrianChen Date: 2012-6-8 下午03:21:08
 *
 * Copyright (c) 2009 Hewlett-Packard Development Company, L.P.
 * All rights reserved.
 */
package com.collapsar.core.security.service;

import com.collapsar.core.security.model.Role;

/**
 * <pre>
 * REVISIONS: 
 * Version 	Date 		Author 			Description
 * ------------------------------------------------------------------- 
 * 1.0 		2012-6-8 	BrianChen 	1. Created this class. 
 * </pre>
 * 
 * @author BrianChen
 * @date 2012-6-8 下午03:21:08
 * @version 1.0
 * @see
 * 
 */
public interface IRoleManager {
	void storeRole(Role role);
	
	void deleteRole(Role role);
	void deleteAllRoles(Long roleIds[]);
	
	Role loadRole(Long roleId);
	Role loadRoleWithUsers(Long roleId);
	
	Role getRoleByName(String roleName);
	
//	void addUsers(Long userIds[], Long roleId);
//	void deleteUsers(Long userIds[], Long roleId);
}

